
<#include "include/_meta.html">


<title>添加管理员 - 管理员管理</title>
<meta name="keywords" content="汽车租赁">
<meta name="description" content="H-ui.admin v2.3，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
</head>
<body>
<article class="page-container">
	<form class="form form-horizontal" id="form-admin-add" >
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>资源编号：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.permisId)!''}" placeholder="" id="permisid" name="permisid" disabled>
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>中文名称：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.permisName)!''}" placeholder="" id="permisname" name="permisname" disabled>
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>资源代码：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.permisCode)!''}" placeholder="" id="permiscode" name="permiscode" disabled>
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>资源类型：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.permisType)!''}" placeholder="" id="permistype" name="permistype" disabled>
		</div>
	</div>
	
	
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>相对路径：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.relateURL)!''}" placeholder="" id="relateURL" name="relateURL" disabled>
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>上级编号：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.parentId)!''}" placeholder="" name="parentid" id="parentid" disabled>
		</div>
	</div>
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>上级目录：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="${(resource.parentids)!''}" placeholder="" name="parentids" id="parentids" disabled>
		</div>
	</div>
	
	<div class="row cl">
		<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>是否启用：</label>
		<div class="formControls col-xs-8 col-sm-9 skin-minimal">
		
<#if "${(resource.isabled)!''}"=='1'>
			<div class="radio-box">
				<input name="isabled" type="radio" value="1" id="isabled-1" checked disabled>
				<label for="isabled-1">是</label>
			</div>
			<div class="radio-box">
				<input type="radio" id="isabled-2" value="0" name="isabled" disabled>
				<label for="isabled-2">否</label>
			</div>
			
<#else>
			<div class="radio-box">
				<input name="isabled" type="radio" value="1" id="isabled-1" disabled>
				<label for="isabled-1">是</label>
			</div>
			<div class="radio-box">
				<input type="radio" id="isabled-2" value="0" name="isabled" checked disabled>
				<label for="isabled-2">否</label>
			</div>
</#if>
		</div>
	</div>

	<div class="row cl">
		<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
			<input class="btn btn-danger radius" type="button" value="&nbsp;&nbsp;修改&nbsp;&nbsp;" onclick="resource_edit('资源编辑','/editResource?permisId='+${(resource.permisId)!''},'1000','750');" /><span style="width:30px;"></span>
		</div>
	</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去--> 
<#include "include/_footer.html">

<script type="text/javascript">

/*资源-编辑*/
function resource_edit(title,url,w,h){
	layer_show(title,url,w,h);
}
	
</script>	

<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>